package com.example.communitypro.service;

import com.example.communitypro.pojo.UserReport;
import com.example.communitypro.util.result.Result;

import java.util.List;

public interface UserReportService {

    Result addUserReport(UserReport record);


    Result dropUserReport(int reportNo);


    Result modifyUserReport(UserReport record);


    Result queryUserReport(int reportNo);


    Result queryUserInformationReport(int user_no);


    Result queryPostReport(int user_no);


    Result queryCommentReport(int user_no);


    int queryUserReported(int user_no);


    int queryPostReported(int post_no);


    int queryCommentReported(int comment_no);


    Result queryUserReport(int no,int report_object_type);

    Result dropTypeReport(int report_object_no,int report_object_type);



    public int countByDate(String date);

    Result findAllReport();


    List<UserReport> findReportByReject();

    Result queryAllCommunityReport(Integer communityNo);

    int updateRejectReasonByReportNo(Integer reportNo,String rejectReason);

}
